package it.zqdszb.library.ui;

import android.widget.TextView;

import it.zqdszb.library.utils.utils.RxDataTool;


/**
 * Created by wcy on 2018/1/18.
 */

public abstract class BaseFragment extends LibFragment {
    private TextView tvBoldTitle, tvHouses, tvTime;

    @Override
    protected void initTitle(String title) {
     //   tvBoldTitle = rootView.findViewById(R.id.tv_bold_title);
        if (!RxDataTool.isNullString(title)) {
           /* if (tvBoldTitle != null) {
                tvBoldTitle.setText(title);
            } else if (headerLayout != null) {
                headerLayout.setTitleText(title);
            }*/
            headerLayout.setTitleText(title);

        }
       /* tvHouses = rootView.findViewById(R.id.tv_houses);
        tvTime = rootView.findViewById(R.id.tv_time);*/
        /*if (tvHouses != null)
            tvHouses.setText(getMyApplication().getMerchantBean().getHousesName());*/
       // if (tvTime != null) tvTime.setText(getMyApplication().getMerchantBean().timeShowStr);
    }

   /* public MyApplication getMyApplication() {
        return MyApplication.getInstance();
    }*/

}
